#include <iostream>
#include <stdlib.h>
using namespace std;

int max(int a ,int b,int c)
{
    if(b>a)a=b;
    if(c>a)a=c;
    return a;
}

 float max(float a ,float b,float c)
 {
     if(b>a)a=b;
     if(c>a)a=c;
     return a;
 }
 long max(long a ,long b,long c)
 {
     if(b>a)a=b;
     if(c>a)a=c;
     return a;
 }

int main(){
    int a,b,c;
    float d,e,f;
    long g,h,i;
    cin >>a>>b>>c;
    cin >>d>>d>>f;
    cin >>g>>h>>i;

    int m;
    m=max(a,b,c);
    
    cout<<"max_int="<<m<<endl;
    
    m=max(d,e,f);
    cout<<"max_float="<<m<<endl;

    m=max(g,h,i);
    cout<<"max_long="<<m<<endl;
    system("pause");
    return 0;
}
